<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../common/taglib.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>我的首页</title>
	<meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9; IE=8; IE=7; IE=EDGE">
	
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/header.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/common.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/public.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/default.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/footer.css"/>">
  </head>
<body id="home">

<jsp:include page="../common/hrheader.jsp"></jsp:include>

<div class="wrap clearfix">
      
	<div class="main"> 
	   <div class="feeds-panel">	    
		<div class="data-list fixed-parent relative" >
		  	<div class="fixed-data-header absolute" >
			     <table class="table table-text-center table-hover table-resume-list">
			      <thead>
			        <tr class="ico-arrow-order-tr">
			          <th width="100">职位</th>			          
			          <th width="50">学历 </th>
			          <th width="70">专业</th>			          
			          <th width="70">工作年限</th>
			          <th width="100">工作地区</th>
			          <th width="100">发布时间</th>
			          <th width="100" class="text-left">截止时间</th>
			        </tr>
			      </thead>
		      </table>
		    </div>
		    <br><br>
		    <table class="table table-text-center table-hover table-resume-list">  

 			<c:if test="${jobs!=null }">
 			<c:forEach var="job" items="${jobs }">
		      <tbody>       
		         <tr>
		          	<th width="100"><a href="<c:url value="/job/edit/${job.id }"/>">${job.position }</a></th>			          
			        <th width="50">${job.education } </th>
			        <th width="70">${job.major }</th>			          
			        <th width="70">${job.experience }</th>
			        <th width="100">${job.workplace }</th>
			        <th width="100">${job.publishTime }</th>
			        <th width="100" class="text-left">${job.deadline }</th>
		        </tr>		                            
		      </tbody>
			</c:forEach>
			</c:if>
		      <tfoot>
		        <tr>
		          <td colspan="8">
		          <div class="pagerbar">
		          <a href="<c:url value="/job/manage"/>/5/${curPage-1}">上页</a>
		          <a href="<c:url value="/job/manage"/>/5/1">1</a>
		          <a href="<c:url value="/job/manage"/>/5/2">2</a>
		          <a href="<c:url value="/job/manage"/>/5/3">3</a>
		          <a href="<c:url value="/job/manage"/>/5/4">4</a>
		          <a href="<c:url value="/job/manage"/>/5/5">5</a>
		          <span class="ellipsis">…</span>
		          <a href="<c:url value="/job/manage"/>/5/${curPage+1}">下页</a>		          
		          </div>
		          </td>
		        </tr>
		      </tfoot>		      
		    </table>
		</div>    
	</div>	
  </div>
  
  
</div>
		
<jsp:include page="../common/footer.jsp"></jsp:include>

<div class="fixed-aside">
	<a class="fixed-go-top" href="javascript:;">
		<i class="icon-32 icon-32-gotop"></i>
		<span class="text-go-top">返回<br>顶部</span>
	</a>
</div>
</body>
</html>